const { login, register } = require("../controller/login")
const router = require("koa-router")()

//登陆
router.post('/login', login)
router.post('/register', register)

module.exports = router
